package com.hd.pojo;

public class Dstztrade implements java.io.Serializable{
	private Integer id;
	private Integer aid;
	private Integer adminid;
	private String usertype;
	private Integer category;
	
	private Integer direction;
	private Float openposition;
	private Float stopposition;
	private Float longposition;
	
	private String starttime;
	
	private Integer status;
	
	private Float closeposition;
	private Float profit;
	private String endtime;
	
	private String reason;
	
	public Dstztrade(){}
	public Dstztrade(Integer aid,Integer adminid,Integer usertype, Integer category,
					Integer direction,Float openposition,Float stopposition,Float longposition,
					String starttime,Integer status,Float closeposition,Float profit,String endtime){
		this.aid=aid;
		this.adminid=adminid;
		
		this.category=category;
		this.direction=direction;
		this.openposition=openposition;
		this.stopposition=stopposition;
		this.longposition=longposition;
		
		this.starttime=starttime;
		
		this.status=status;
		
		this.closeposition=closeposition;
		this.profit=profit;
		this.endtime=endtime;
	}
	
	public Dstztrade(Integer aid,Integer adminid,Integer usertype, Integer category,
			Integer direction,Float openposition,Float stopposition,Float longposition,
			String starttime,Integer status,Float closeposition,Float profit,String endtime,String reason){
		this.aid=aid;
		this.adminid=adminid;
		
		this.category=category;
		this.direction=direction;
		this.openposition=openposition;
		this.stopposition=stopposition;
		this.longposition=longposition;
		
		this.starttime=starttime;
		
		this.status=status;
		
		this.closeposition=closeposition;
		this.profit=profit;
		this.endtime=endtime;
		this.reason=reason;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getAid() {
		return aid;
	}
	public void setAid(Integer aid) {
		this.aid = aid;
	}
	public Integer getAdminid() {
		return adminid;
	}
	public void setAdminid(Integer adminid) {
		this.adminid = adminid;
	}
	public String getUsertype() {
		return usertype;
	}
	public void setUsertype(String usertype) {
		this.usertype = usertype;
	}
	public Integer getCategory() {
		return category;
	}
	public void setCategory(Integer category) {
		this.category = category;
	}
	public Integer getDirection() {
		return direction;
	}
	public void setDirection(Integer direction) {
		this.direction = direction;
	}
	public Float getOpenposition() {
		return openposition;
	}
	public void setOpenposition(Float openposition) {
		this.openposition = openposition;
	}
	public Float getStopposition() {
		return stopposition;
	}
	public void setStopposition(Float stopposition) {
		this.stopposition = stopposition;
	}
	public Float getLongposition() {
		return longposition;
	}
	public void setLongposition(Float longposition) {
		this.longposition = longposition;
	}
	public String getStarttime() {
		return starttime;
	}
	public void setStarttime(String starttime) {
		this.starttime = starttime;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Float getProfit() {
		return profit;
	}
	public void setProfit(Float profit) {
		this.profit = profit;
	}
	public Float getCloseposition() {
		return closeposition;
	}
	public void setCloseposition(Float closeposition) {
		this.closeposition = closeposition;
	}
	public String getEndtime() {
		return endtime;
	}
	public void setEndtime(String endtime) {
		this.endtime = endtime;
	}
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
}
